#include "cutils/properties.h"
#include "compatible.h" 

int write_status_file(const char* file, const char* state, const char* info)
{
	char str[PROPERTY_VALUE_MAX] = {0};
	snprintf(str, PROPERTY_VALUE_MAX, "%s:%s", state, info);
	property_set("sys.modem.update.state", str);

	return 1;
}

